<template>
    <div class="nav">
        <!-- 标题 -->
        <div class="title">
            <!-- 文字 -->
            <div class="title-text">
                <slot name="head-left"></slot>
                <slot name="head-right"></slot>
            </div>
        </div>
    </div>
</template>
<script>
</script>
<style>
.nav {
    width: 100%;
    height: 80px;
    background-color: #0cb4ff;
    position: relative;

    .title {
        width: 100%;
        height: 60px;
        position: absolute;
        bottom: 0;


        .title-text {
            font-size: 16px;
            text-align: center;
            color: #fff;
            font-weight: 600;
            display: flex;
            justify-content: space-between;

        }
    }
}
</style>